﻿@model Pageparkproject.Models.tblSetting
<h2>Products Categories Settings</h2>
<table id="rounded-corner" summary="2007 Major IT Companies' Profit">
    <thead>
        <tr>
            <th scope="col" class="rounded-company"></th>
            <th scope="col" class="rounded">Tên</th>
            <th scope="col" class="rounded">Nội dung</th>
            <th scope="col" class="rounded">Edit</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <input type="checkbox" name="" /></td>
            <td>Ảnh trang chủ: </td>
            <td>
                <img style="width:50px;height:auto;margin:0px;padding:0px;" src="~/Contents/Images/@Model.sImageIndex"/></td>
            <td><a href="#" onclick="settingIndex();">
                <img src="~/Contents/Admin/Theme/images/user_edit.png" alt="" title="" border="0" /></a></td>
        </tr>
        <tr>
            <td>
                <input type="checkbox" name="" /></td>
            <td>Giới thiệu: </td>
            <td>
                <img style="width:50px;height:auto;margin:0px;padding:0px;" src="~/Contents/Images/@Model.sImageGioithieu"/></td>
            <td><a href="#" onclick="settingAbout();">
                <img src="~/Contents/Admin/Theme/images/user_edit.png" alt="" title="" border="0" /></a></td>
        </tr>
        <tr>
            <td>
                <input type="checkbox" name="" /></td>
            <td>Thông tin liên hệ: </td>
            <td>
                @if (Model.sContact.Length >= 20) { <p>@Model.sContact.Substring(0,19)</p> }else{<p>@Model.sContact</p>}</td>
            <td><a href="#" onclick="settingContact();">
                <img src="~/Contents/Admin/Theme/images/user_edit.png" alt="" title="" border="0" /></a></td>
        </tr>
        <tr>
            <td>
                <input type="checkbox" name="" /></td>
            <td>Màu thanh header: </td>
            <td>
                @if (Model.sContact.Length >= 20) { <p>@Model.sContact.Substring(0,19)</p> }else{<p>@Model.sContact</p>}</td>
            <td><a href="#" onclick="settingHeader();">
                <img src="~/Contents/Admin/Theme/images/user_edit.png" alt="" title="" border="0" /></a></td>
        </tr>
    </tbody>
</table>
